package me.oz.test.api;


/**
 * @name  ResultMessage
 * @package me.oz.test.api
 * @time 14/03/18 21:47
 * @version 1.0
 * @author oz
 * @email 857527916@qq.com
 * @describe 请求结果
 */


public class ResultMessage
{

    private int code; //1:success, 0:fail, -1:server error

    private String msg; //内容

    public int getCode()
    {
        return code;
    }

    public void setCode(int code)
    {
        this.code = code;
    }

    public String getMsg()
    {
        return msg;
    }

    public void setMsg(String msg)
    {
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "ResultMessage{" + "code=" + code + ", msg=" + msg + '}';
    }
    
    
    
    
}
